package com.gking.centerSystem.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 系统访问日志模块
 */
@Data
@TableName("log_system_module")
public class LogSystemModule implements Serializable {

    private static final long serialVersionUID = 1L;

    //主键id
    @TableId
    private String id;

    //系统唯一编码
    @TableField(value = "systemCode")
    private String systemCode;

    //模块唯一编码
    @TableField(value = "module")
    private String module;

    //模块名
    @TableField(value = "name")
    private String name;

    //备注
    @TableField(value = "remark")
    private String remark;

    //系统是否删除
    @TableField(value = "isDelete")
    private Integer isDelete;

    //系统创建时间
    @TableField(value = "createTime", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    //系统创建者id
    @TableField(value = "createUserId", fill = FieldFill.INSERT)
    private String createUserId;

    //系统更新时间
    @TableField(value = "updateTime", fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    //系统更新者id
    @TableField(value = "updateUserId", fill = FieldFill.UPDATE)
    private String updateUserId;

    //系统删除时间
    @TableField(value = "deleteTime")
    private LocalDateTime deleteTime;

    //系统删除者id
    @TableField(value = "deleteUserId")
    private String deleteUserId;

}
